使用BeautifulSoup,我试图打印特定标记中的文本,问题是我要打印的文本在<tr>标记中的标签中,而网页有30个<tr>标记。import urlopenquote_page = 'http://google.com'soup= BeautifulSoup(page, 'html.parser')
for link in soup.f
在row_soup_list = table_soup.find('tr')之前,我一直认为我的代码可以工作,但是.find似乎选择了table_soup的一个太小的部分,但是.find_all返回了这个错误:
AttributeError: ResultSet object has no attribute 'find_all'.Did you call find_all() when you meant to